<?php

return [
    'payment' => [
        'default' => [
            'sandbox' => env('WECHAT_PAYMENT_SANDBOX', false),
            'app_id' => env('WECHAT_PAYMENT_APPID', ''),
            'mch_id' => env('WECHAT_PAYMENT_MCH_ID', 'your-mch-id'),
            'key' => env('WECHAT_PAYMENT_KEY', 'key-for-signature'),
            'cert_path' => env('WECHAT_PAYMENT_CERT_PATH', 'path/to/cert/apiclient_cert.pem'),    // XXX: 绝对路径！！！！
            'key_path' => env('WECHAT_PAYMENT_KEY_PATH', 'path/to/cert/apiclient_key.pem'),      // XXX: 绝对路径！！！！
            'notify_url' => env('WECHAT_NOTIFY_URL', ''),                           // 默认支付结果通知地址
            'subapp_id' => env('WECHAT_SUBPAYMENT_APPID', ''),
            'submch_id' => env('WECHAT_SUBPAYMENT_MCH_ID', '')
        ],
    ],
];